package org.example.entity;

import org.example.jdbcOperator.annotation.Column;
import org.example.jdbcOperator.annotation.Table;
import org.example.jdbcOperator.entity.BaseEntity;

import java.sql.Timestamp;

//@Table(tableName = "user", prefix = "tbl", suffix = "1")
@Table(tableName = "user")
public class User extends BaseEntity {
    @Column(name = "name")
    private String name;
    private String password;
    private Timestamp birthday;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Timestamp getBirthday() {
        return birthday;
    }

    public void setBirthday(Timestamp birthday) {
        this.birthday = birthday;
    }
}
